var express = require("express");
var router = express.Router();

/* 测试cookie */
router.get("/set", function (req, res, next) {

  res.cookie("wxuid", "1111111", {
    expires: new Date(Date.now() + 900000),
    path: '/'
  });
  res.send({
    a: 1,
  });

});

module.exports = router;
